<template>
  <el-dialog title="新增部门" width="700px" :visible.sync="show">
    <el-form label-width="100px">
      <el-form-item label="用户名">
        <el-input />
      </el-form-item>
      <el-form-item label="邮箱">
        <el-input />
      </el-form-item>
      <el-form-item label="电话">
        <el-input />
      </el-form-item>
      <el-form-item label="角色">
        <el-select v-model="form.region">
          <el-option label="超级管理员" value="shanghai" />
          <el-option label="管理员" value="beijing" />
          <el-option label="老师" value="beijing" />
          <el-option label="学生" value="beijing" />
        </el-select>
      </el-form-item>
      <el-form-item label="状态">
        <el-select v-model="form.region">
          <el-option label="启用" value="shanghai" />
          <el-option label="禁用" value="beijing" />
        </el-select>
      </el-form-item>
      <el-form-item label="用户备注">
        <el-input />
      </el-form-item>
    </el-form>
    <template #footer>
      <div style="text-align: center">
        <el-button @click="show = false">取消</el-button>
        <el-button type="primary">确定</el-button>
      </div>
    </template>
  </el-dialog>
</template>
<script>
export default {
  data() {
    return {
      show: false,
      form: {
        region: ''
      }
    }
  }
}
</script>
<style></style>
